package com.freejy.ecommunity.mapper;



import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.freejy.ecommunity.model.TopicReply;


public interface TopicReplyMapper {
    

    /**
     * 根据帖子id获取帖子回复列表
     * @return
     */
    List<TopicReply> getTopicReplysByTopicId(@Param("topicId") int topicId, @Param("size") Integer size, @Param("limit") Integer limit);

    /**
     * 新增帖子回复
     * @param topic
     * @return
     */
    int insert(@Param("topicReply") TopicReply topicReply);
    
    
}
